<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
*/

/**
 * Description of Sidebar
 *
 * @author dejo
 */
class Tc_Helper_Sidebar extends Zend_Controller_Plugin_Abstract {
    protected $_layout;

    public function __construct(Zend_Layout $layout) {
        $this->_layout = $layout;
    }
    public function preDispatch(Zend_Controller_Request_Abstract $request) {
        $html = 'Generate HTML here';
        $this->_layout->sidebar = $html;
    }
}
?>
